﻿using System;
using System.Collections.Generic;
using System.Text;

namespace moc.Models
{
    /// <summary>
    /// 订单表
    /// </summary>
    public class OrderMaster
    {
        public Guid Order_id { get; set; }
        public Guid Order_number { get; set; }
        public string Customer_id { get; set; }
        public string Customer_name { get; set; }
        public OrderPay Pay_method { get; set; }
        public decimal order_money { get; set; }
        public decimal discount_money { get; set; }
        public decimal pay_money { get; set; }
        public DateTime Create_time { get; set; }
        public DateTime Pay_time { get; set; }
        public DateTime Receive_time { get; set; }
        public OrderStatus Order_status { get; set; }
    }
    public enum OrderPay:int
    {
        apliay,//支付宝
        wechat//微信
    }
    public enum OrderStatus : int
    {
        PendingPayment,//待付款        
        AlreadyPayment,//已付款        
        Cancelled
    }
}
